.todolist {
    width: 300px;
}
.todolist input[type='text']{
    width: 100%;
}
.todolist .list{
    display: flex;
    justify-content: space-between;
}
.todolist .list span{
    display: flex;
    flex-direction: row;
}